package com.sc.server.member.exception;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author yuantongqin
 * desc:
 * 2020-08-13
 */
public class ExceptionInfo {

    @ApiModelProperty(value = "错误编码", example = "001")
    private String errorCode;

    @ApiModelProperty(value = "错误信息",example = "系统繁忙,请稍后再试~")
    private String message;

    //说明这个错误是哪个服务抛出来的
    @ApiModelProperty(value = "服务名")
    private String serviceName;

    @ApiModelProperty(value = "追踪id")
    private String traceId;

    @ApiModelProperty("额外的错误信息")
    private String extraMessage;
}
